# -*- coding: utf-8 -*-

################################################################################
## Form generated from reading UI file 'source.ui'
##
## Created by: Qt User Interface Compiler version 6.5.2
##
## WARNING! All changes made in this file will be lost when recompiling UI file!
################################################################################

from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
    QMetaObject, QObject, QPoint, QRect,
    QSize, QTime, QUrl, Qt)
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
    QFont, QFontDatabase, QGradient, QIcon,
    QImage, QKeySequence, QLinearGradient, QPainter,
    QPalette, QPixmap, QRadialGradient, QTransform)
from PySide6.QtWidgets import (QApplication, QDialog, QGridLayout, QHBoxLayout,
    QLabel, QLineEdit, QPushButton, QSizePolicy,
    QSpinBox, QVBoxLayout, QWidget)

class Ui_SourceSettingsDialog(object):
    def setupUi(self, SourceSettingsDialog):
        if not SourceSettingsDialog.objectName():
            SourceSettingsDialog.setObjectName(u"SourceSettingsDialog")
        SourceSettingsDialog.resize(400, 230)
        SourceSettingsDialog.setMinimumSize(QSize(400, 230))
        SourceSettingsDialog.setMaximumSize(QSize(400, 231))
        self.verticalLayout = QVBoxLayout(SourceSettingsDialog)
        self.verticalLayout.setObjectName(u"verticalLayout")
        self.gridLayout = QGridLayout()
        self.gridLayout.setObjectName(u"gridLayout")
        self.label_status = QLabel(SourceSettingsDialog)
        self.label_status.setObjectName(u"label_status")

        self.gridLayout.addWidget(self.label_status, 0, 0, 1, 1)

        self.label_status_value = QLabel(SourceSettingsDialog)
        self.label_status_value.setObjectName(u"label_status_value")

        self.gridLayout.addWidget(self.label_status_value, 0, 1, 1, 2)

        self.btn_connect = QPushButton(SourceSettingsDialog)
        self.btn_connect.setObjectName(u"btn_connect")

        self.gridLayout.addWidget(self.btn_connect, 1, 0, 1, 1)

        self.btn_disconnect = QPushButton(SourceSettingsDialog)
        self.btn_disconnect.setObjectName(u"btn_disconnect")

        self.gridLayout.addWidget(self.btn_disconnect, 1, 1, 1, 1)

        self.label_set = QLabel(SourceSettingsDialog)
        self.label_set.setObjectName(u"label_set")

        self.gridLayout.addWidget(self.label_set, 2, 0, 1, 1)

        self.lineEdit_set = QLineEdit(SourceSettingsDialog)
        self.lineEdit_set.setObjectName(u"lineEdit_set")

        self.gridLayout.addWidget(self.lineEdit_set, 2, 1, 1, 2)

        self.label_limit = QLabel(SourceSettingsDialog)
        self.label_limit.setObjectName(u"label_limit")

        self.gridLayout.addWidget(self.label_limit, 3, 0, 1, 1)

        self.lineEdit_limit = QLineEdit(SourceSettingsDialog)
        self.lineEdit_limit.setObjectName(u"lineEdit_limit")

        self.gridLayout.addWidget(self.lineEdit_limit, 3, 1, 1, 2)

        self.label_samples = QLabel(SourceSettingsDialog)
        self.label_samples.setObjectName(u"label_samples")

        self.gridLayout.addWidget(self.label_samples, 4, 0, 1, 1)

        self.spin_samples = QSpinBox(SourceSettingsDialog)
        self.spin_samples.setObjectName(u"spin_samples")
        self.spin_samples.setMinimum(1)
        self.spin_samples.setMaximum(100)
        self.spin_samples.setValue(3)

        self.gridLayout.addWidget(self.spin_samples, 4, 1, 1, 2)

        self.label_interval = QLabel(SourceSettingsDialog)
        self.label_interval.setObjectName(u"label_interval")

        self.gridLayout.addWidget(self.label_interval, 5, 0, 1, 1)

        self.spin_interval = QSpinBox(SourceSettingsDialog)
        self.spin_interval.setObjectName(u"spin_interval")
        self.spin_interval.setMinimum(10)
        self.spin_interval.setMaximum(5000)
        self.spin_interval.setValue(500)

        self.gridLayout.addWidget(self.spin_interval, 5, 1, 1, 2)


        self.verticalLayout.addLayout(self.gridLayout)

        self.buttonLayout = QHBoxLayout()
        self.buttonLayout.setObjectName(u"buttonLayout")
        self.buttonLayout.setContentsMargins(-1, 15, -1, 15)
        self.btn_apply = QPushButton(SourceSettingsDialog)
        self.btn_apply.setObjectName(u"btn_apply")

        self.buttonLayout.addWidget(self.btn_apply)

        self.btn_cancel = QPushButton(SourceSettingsDialog)
        self.btn_cancel.setObjectName(u"btn_cancel")

        self.buttonLayout.addWidget(self.btn_cancel)


        self.verticalLayout.addLayout(self.buttonLayout)


        self.retranslateUi(SourceSettingsDialog)

        QMetaObject.connectSlotsByName(SourceSettingsDialog)
    # setupUi

    def retranslateUi(self, SourceSettingsDialog):
        SourceSettingsDialog.setWindowTitle(QCoreApplication.translate("SourceSettingsDialog", u"\u6e90\u8868\u8bbe\u7f6e", None))
        self.label_status.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u8fde\u63a5\u72b6\u6001\uff1a", None))
        self.label_status_value.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u8bbe\u5907\u672a\u8fde\u63a5", None))
        self.btn_connect.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u8fde\u63a5\u8bbe\u5907", None))
        self.btn_disconnect.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u65ad\u5f00\u8bbe\u5907", None))
        self.label_set.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u8bbe\u5b9a\u7535\u538b(V)\uff1a", None))
        self.label_limit.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u6700\u5927\u7535\u6d41(A)\uff1a", None))
        self.label_samples.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u91c7\u6837\u6b21\u6570\uff1a", None))
        self.label_interval.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u91c7\u6837\u95f4\u9694(ms)\uff1a", None))
        self.btn_apply.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u5e94\u7528", None))
        self.btn_cancel.setText(QCoreApplication.translate("SourceSettingsDialog", u"\u53d6\u6d88", None))
    # retranslateUi

